﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassRoomServer.Packets
{
    public class UserInfo
    {
        private string _Username;
        private Guid _ClassRoomID;
        private bool _IsOwner;       

        public UserInfo()
        {
            this.Username = String.Empty;
            this.ClassRoomID = Guid.Empty;
        }

        public UserInfo(string username, Guid classRoomID, bool isOwner)
        {
            this.Username = username;
            this.ClassRoomID = classRoomID;
            this.IsOwner = isOwner;
        }

        public string Username
        {
            get { return _Username; }
            set { _Username = value; }
        }

        public Guid ClassRoomID
        {
            get { return _ClassRoomID; }
            set { _ClassRoomID = value; }
        }

        public bool IsOwner
        {
            get { return _IsOwner; }
            set { _IsOwner = value; }
        }
    }
}
